function ClearLog() {

	var clearPanel = {
						xtype: 'fieldset',
						margins:'5 5 5 5',
						title: '日志清理',
						layout : 'form',
						region:'center',
						labelWidth : 0,
						items: [
								{
											xtype: 'checkboxgroup',
											itemCls: 'x-check-group-alt',
											fieldLabel: '日志类型',
											columns: 3,
											items: [
											{boxLabel: 'VPN日志', name: 'vpn',id:'vpn'},
											{boxLabel: '流量日志', name: 'flow',id:'flow'},
											{boxLabel: 'NAT日志', name: 'nat',id:'nat'},
											{boxLabel: '防火墙日志', name: 'firewall',id:'firewall'},
											{boxLabel: '系统日志', name: 'system',id:'system'}
											]
								},new Ext.form.CompositeField({ 
									anchor: '25%',
							    fieldLabel: '保留天数', 
							    items: [ 
							        new Ext.form.TextField({ 
										    name: 'my_field', 
										    flex: 1 
										  }) , 
							        { 
							            xtype: 'button', 
							            text: '立即清理' ,
							            handler: function() { 
							            		
							                
							            } 
							        } 
							    ] 
							}),{
									xtype: 'checkbox',
									name: 'isSync1',
									id  : 'isSync1',
									fieldLabel: '定期清理',
									anchor: '100%'
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '清理间隔天数',
									columns: 4,
									anchor: '50%',
									items: [
									{
										xtype: 'textfield',
										name: 'backupDay1',
										id: 'backupDay1',
										anchor: '100%'
									},{
										xtype: 'label',
										text : ' 天',
										margins:'5 5 5 5'
									}
									]
								},{
									xtype: 'timefield',
									name: 'backupTime1',
									id  : 'backupTime1',
									format: 'H:i',
									fieldLabel: '清理时间时间点',
									value:'00:00',
									anchor: '25%'
								},{
									xtype: 'checkboxgroup',
									itemCls: 'x-check-group-alt',
									fieldLabel: '',
									columns: 4,
									anchor: '50%',
									items: [
										{
											xtype: 'button',
											name: 'save',
											id  : 'save',
											text: '保 存',
											anchor: '10%',
											handler : function() {
											
												
												
											}
										}
									]
								}
						]
					};



   
	var clear_datum = new Ext.Panel({
				frame : true,
				layout : 'border',
				bodyStyle: "background-color:#ffffff", 
				items : [clearPanel]
			})
			
			
	return clear_datum;

}
